package cn.stazxr.pool;

import cn.stazxr.Teacher;
import cn.stazxr.User;

/**
 * @author talentestors
 * @version 1.0
 * @since 2025.05.21
 **/
public class UserDao2 extends BaseDaoPlusImpl<User> implements BaseDaoPlus<User> {
	public static void main(String[] args) {
		UserDao2 userDao2 = new UserDao2();
		userDao2.save(new User("stazxr", "123456", null));

		TeacherDao teacherDao = new TeacherDao();
		teacherDao.save(new Teacher("stazxr"));

		userDao2.findAll().forEach(System.out::println);
	}
}
